ambiguity in cfg with example